<?php
// +----------------------------------------------------------------------
// |用户操作日志model
// +----------------------------------------------------------------------
namespace app\common\Model;

use think\Model;

class OrderModel extends Model{
    protected $name = 'deliver';
    // 表主键
    protected $pk = 'id';

     // 订单状态
    protected $status =  ['1'=>'全部','2'=>'待拣货','3'=>'拣货中','4'=>'发货中','5'=>'已发货','6'=>'缺货','7'=>'采购中','8'=>'取消'];
    // 定义一个方法，返回所有 status
    public function getAllStatus()
    {
        return $this->status;
    }
}